Method and apparatus for generating customized visualization component

ABSTRACT

A method and apparatus for generating a customized visualization component are provided. The method may include: determining, in response to receiving a creation instruction for instructing to create a customized visualization component, a visualization instance presented on a current component editing page based on the received creation instruction; determining an initial visualization component corresponding to the visualization instance and a user setting parameter set by a user for the visualization instance; uploading a creation request for the customized visualization component to a server to enable the server to generate the customized visualization component based on the initial visualization component and the user setting parameter, the creation request including identifier information of the initial visualization component and the user setting parameter; and inputting characteristic information for the customized visualization component to the server to find the customized visualization component based on the characteristic information.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation of U.S. patent application Ser. No. 16/503,153,filed on Jul. 3, 2019, which claims priority to Chinese Application No.201810947881.6, filed on Aug. 20, 2018 and entitled “Method andApparatus for Generating Customized Visualization Component,” the entiredisclosure of each of which is hereby incorporated by reference.

TECHNICAL FIELD

Embodiments of the present disclosure relate to the technical field ofcomputers, specifically to the technical field of computer networks, andmore specifically to a method and apparatus for generating a customizedvisualization component.

BACKGROUND

The data visualization means a process of converting, using computergraphics and image processing techniques, data in large data sets intographics or images, displaying the graphics or images on a screen, anddiscovering unknown information therein using data analysis anddevelopment tools.

The currently developing online data visual editing tool facilitatesonline visualized analysis and processing of massive information data bydifferent users. For example, a user adds a preset visualizationcomponent in the data visual editing tool to organize his own reportform. The preset visualization component is generally programmed andimplemented by the developer of the data visual editing tool.

The user generally has customization requirements when generating a datavisualization report form using the visualization component. That is, avisualization instance in the visualization report form is displayedbased on the user's requirements and styles.

SUMMARY

Embodiments of the present disclosure presents a method and apparatusfor generating a customized visualization component.

In a first aspect, an embodiment of the present disclosure provides amethod for generating a customized visualization component, including:determining, in response to receiving a creation instruction forinstructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction; determining an initialvisualization component corresponding to the visualization instance anda user setting parameter set by a user for the visualization instance;and uploading a creation request for the customized visualizationcomponent to a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter, the creation request including identifierinformation of the initial visualization component and the user settingparameter.

In some embodiments, the visualization instance is a combination ofvisualization instances, the combination of visualization instances isformed by combining at least two visualization instances, and each ofthe visualization instances corresponds to an initial visualizationcomponent; the determining an initial visualization componentcorresponding to the visualization instance and a user setting parameterset by a user for the visualization instance includes: determining theinitial visualization component and the user setting parametercorresponding to each of the at least two visualization componentinstances, and a relative positional relationship parameter of the atleast two visualization instances; the creation request includes theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter; and the uploading the creation request to a server to enablethe server to generate the customized visualization component based onthe initial visualization component and the user setting parameterincludes: uploading the creation request to the server to enable theserver to generate the customized visualization component based on theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter.

In some embodiments, the determining an initial visualization componentcorresponding to the visualization instance and a user setting parameterset by a user for the visualization instance further includes:determining a hierarchical relationship parameter of the at least twovisualization instances; the creation request further includes thehierarchical relationship parameter; and the uploading a creationrequest for the customized visualization component to a server to enablethe server to generate the customized visualization component based onthe initial visualization component and the user setting parameterincludes: uploading the creation request for the customizedvisualization component to the server to enable the server to generatethe customized visualization component based on the identifierinformation of the initial visualization component and the user settingparameter corresponding to each of the at least two visualizationinstances, the relative positional relationship parameter, and thehierarchical relationship parameter.

In some embodiments, the method further includes: receiving thecustomized visualization component created based on the creation requestand sent by the server and the identifier information thereof; andpresenting the customized visualization component in a component listdisplayed on the component editing page.

In some embodiments, the method further includes: sending, in responseto receiving a sharing operation of a user on the customizedvisualization component, the sharing operation to the server to enablethe server to share the customized visualization component to usersinstructed by the sharing operation.

In some embodiments, the method further includes: sending, in responseto receiving the creation instruction for instructing to create thecustomized visualization component, user identifier informationcorresponding to the creation instruction to the server to enable theserver to authenticate the user; and determining, in response toreceiving information for instructing successful authentication sent bythe server, the visualization instance presented on a current componentediting page based on the received creation instruction.

In a second aspect, an embodiment of the present disclosure provides anapparatus for generating a customized visualization component,including: a first determining unit configured for determining, inresponse to receiving a creation instruction for instructing to create acustomized visualization component, a visualization instance presentedon a current component editing page based on the received creationinstruction; a second determining unit configured for determining aninitial visualization component corresponding to the visualizationinstance and a user setting parameter set by a user for thevisualization instance; and a generating unit configured for uploading acreation request for the customized visualization component to a serverto enable the server to generate the customized visualization componentbased on the initial visualization component and the user settingparameter, the creation request including identifier information of theinitial visualization component and the user setting parameter.

In some embodiments, the visualization instance is a combination ofvisualization instances, the combination of visualization instances isformed by combining at least two visualization instances, each of thevisualization instances corresponds to an initial visualizationcomponent; the second determining unit is further configured for:determining a relative positional relationship parameter of the at leasttwo visualization instances; the creation request includes theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter; and the generating unit is further configured for: uploadingthe creation request to the server to enable the server to generate thecustomized visualization component based on the identifier informationof the initial visualization component and the user setting parametercorresponding to each of the at least two visualization instances, andthe relative positional relationship parameter.

In some embodiments, the second determining unit is further configuredfor: determining a hierarchical relationship parameter of the at leasttwo visualization instances; the creation request further includes thehierarchical relationship parameter; and the generating unit is furtherconfigured for: uploading the creation request to the server to enablethe server to generate the customized visualization component based onthe identifier information of the initial visualization component andthe user setting parameter corresponding to each of the at least twovisualization instances, the relative positional relationship parameter,and the hierarchical relationship parameter.

In some embodiments, the apparatus further includes: a receiving unitconfigured for: receiving the customized visualization component createdbased on the creation request and sent by the server and the identifierinformation thereof; and presenting the customized visualizationcomponent in a component list displayed on the component editing page.

In some embodiments, the apparatus further includes a sharing unitconfigured for: sending, in response to receiving a sharing operation ofa user on the customized visualization component, the sharing operationto the server to enable the server to share the customized visualizationcomponent to users instructed by the sharing operation.

In some embodiments, the apparatus further includes an authenticatingunit configured for: sending, in response to receiving the creationinstruction for instructing to create the customized visualizationcomponent, user identifier information corresponding to the creationinstruction to the server to enable the server to authenticate the user;and determining, in response to receiving information for instructingsuccessful authentication sent by the server, the visualization instancepresented on a current component editing page based on the receivedcreation instruction.

In a third aspect, an embodiment of the present disclosure provides anelectronic device, the electronic device includes: one or moreprocessors; and a storage apparatus storing one or more programstherein, and the one or more programs, when executed by the one or moreprocessors, cause the one or more processors to implement the methodaccording to any one of the implementations in the first aspect.

In a fourth aspect, an embodiment of the present disclosure provides acomputer readable medium storing a computer program therein, where thecomputer program, when executed by a processor, implements the methodaccording to any one of the implementations in the first aspect.

The method and apparatus for generating a customized visualizationcomponent provided by embodiments of the present disclosure determine,in response to receiving a creation instruction for instructing tocreate a customized visualization component, a visualization instancepresented on a current component editing page based on the receivedcreation instruction, then determine an initial visualization componentcorresponding to the visualization instance and a user setting parameterset by a user for the visualization instance, and finally upload acreation request for the customized visualization component to a serverto enable the server to generate the customized visualization componentbased on the initial visualization component and the user settingparameter, thereby generating the customized visualization componentsatisfying user demands, facilitating reducing the time spent by theuser in generating a data visualization report form, and improving theuser experience.

BRIEF DESCRIPTION OF THE DRAWINGS

By reading and referring to detailed description on the non-limitingembodiments in the following accompanying drawings, other features,objects and advantages of the disclosure will become more apparent:

FIG. 1 is a diagram of an exemplary system architecture in which themethod for generating a customized visualization component according toan embodiment of the present disclosure may be implemented;

FIG. 2 is a flowchart of an embodiment of the method for generating acustomized visualization component according to the present disclosure;

FIG. 3 is a schematic diagram of an application scenario of the methodfor generating a customized visualization component according to thepresent disclosure;

FIG. 4 is a flowchart of another embodiment of the method for generatinga customized visualization component according to the presentdisclosure;

FIG. 5 is a structural schematic diagram of an embodiment of theapparatus for generating a customized visualization component accordingto the present disclosure; and

FIG. 6 is a structural schematic diagram of a computer system adapted toimplement an electronic device according to an embodiment of the presentdisclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

The present disclosure will be further described below in detail incombination with the accompanying drawings and the embodiments. Itshould be appreciated that the specific embodiments described herein aremerely used for explaining the relevant disclosure, rather than limitingthe disclosure. In addition, it should be noted that, for the ease ofdescription, only the parts related to the relevant disclosure are shownin the accompanying drawings.

It should also be noted that the embodiments in the present disclosureand the features in the embodiments may be combined with each other on anon-conflict basis. The present disclosure will be described below indetail with reference to the accompanying drawings and in combinationwith the embodiments.

FIG. 1 shows an exemplary system architecture 100 in which the methodfor generating a customized visualization component according to anembodiment of the present disclosure may be implemented.

As shown in FIG. 1, the system architecture 100 may include terminaldevices 101, 102 and 103, a network 104, and a server 105. The network104 serves as a medium providing a communication link between theterminal devices 101, 102 and 103, and the server 105. The network 104may include various types of connections, such as a wired communicationlink, a wireless communication link, or a fiber cable.

A user may interact with the server 105 using the terminal devices 101,102 and 103 through the network 104, to receive or send messages, etc.The terminal devices 101, 102 and 103 may be installed with variousclient applications, such as a web browser application, a shoppingapplication, a search application, an instant messaging tool, a mailboxclient, and social platform software.

The terminal devices 101, 102 and 103 may be hardware or software. Whenthe terminal devices 101, 102 and 103 are hardware, the terminal devicesmay be various electronic devices having display screens and supportingweb browsing, including but not limited to smart phones, tabletcomputers, e-book readers, laptop computers, desktop computers, or thelike. When the terminal devices 101, 102 and 103 are software, theterminal devices may be installed in the above electronic devices. Theymay be implemented as a plurality of software packages or softwaremodules (e.g., software or software modules for providing distributedservices), or may be implemented as an individual software package orsoftware module. This is not specifically limited herein.

The server 105 can provide various services, such as backend serversproviding a support for web page contents displayed on the terminaldevices 101, 102 and 103. The backend server can analyze and processpage contents based on received user settings, and return the processingresult (for example, the web page changed based on the user settings) tothe terminal devices.

It should be noted that the method for generating a customizedvisualization component according to an embodiment of the presentdisclosure is generally executed by the terminal devices 101, 102 and103. Accordingly, the apparatus for generating a customizedvisualization component is generally installed on the terminal devices101, 102 and 103.

It should be noted that the server may be hardware or software. When theserver is hardware, the server may be implemented as a distributedserver cluster including a plurality of servers, or may be implementedas a single server. When the server is software, the server may beimplemented as a plurality of software packages or software modules(e.g., software or software modules for providing distributed services),or may be implemented as an individual software package or softwaremodule. This is not specifically limited herein.

It should be understood that the number of the terminal devices, thenumber of the networks, and the number of the servers in FIG. 1 are onlyillustrative. Any number of terminal devices, networks and servers maybe provided based on the actual requirements.

Further referring to FIG. 2, a flow 200 of an embodiment of the methodfor generating a customized visualization component according to thepresent disclosure is shown. The method for generating a customizedvisualization component includes the following steps.

Step 201, determining, in response to receiving a creation instructionfor instructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction.

In this embodiment, a user can have access to a data visual editing toolon a server (e.g., the server 105 shown in FIG. 1) through a browserrunning on a terminal device. The above data visual editing tool canprovide a plurality of visualization components. The user can edit thevisualization components on the component editing page provided by thedata visual editing tool, and bind to to-be-analyzed data, therebygenerating a data visualization report form for analyzing the data bythe user. The data herein refer to data in a broad sense, includingtexts, pictures, voices, and other hypermedia data sets. The types ofthe above data sets may include table data, network data, field data,and spatial data. Sets, lists, or the like are also commonly used dataset types.

When the user has access to the data visual editing tool, a relevantpage, e.g., the component editing page, of the visual editing tool canbe displayed on the browser of the terminal device. The user can performoperations, such as selection or dragging, on the visualizationcomponent on the page, to present the selected visualization componenton canvas to form a corresponding visualization instance. Then, the usercan set parameters for attributes of the visualization instance. Theattributes of the visualization instance herein may include, e.g., linecolor, line width, or line display style of the visualization instancecontour, size, shape, coordinates, or background of the visualizationinstance, or the like.

In this embodiment, the visualization component provided by the datavisual editing tool can be considered as an initial visualizationcomponent.

The initial visualization component is generally edited and generated bythe developer of the data visual editing tool using a program code. Theinitial visualization component has preset attributes, such as size,color, and display style.

However, when generating the data visualization report form, the user islikely to expect to configure the visualization instance of an initialvisualization component according to his own habits and hobbies.Moreover, the user is also likely to expect to repeatedly use thevisualization instance of the initial visualization component configuredaccording to his own habits and hobbies in the data visualization reportform. Or, the user expects to continue using the visualization instanceof the initial visualization component configured according to his ownhabits and hobbies when making the data visualization report form nexttime.

A customized visualization component can be generated following themethod provided in the present disclosure, in order to facilitaterepeatedly using the visualization instance of the initial visualizationcomponent configured by the user according to his own habits and hobbiesin a given data visualization report form by the user, or reusing thevisualization instance of the initial visualization component configuredaccording to the habits and hobbies of the user when making a datavisualization report form in the future.

In this embodiment, the terminal device can display a control forinstructing to generate the customized visualization component on thecomponent editing page of the data visual editing tool.

The user can perform operations, e.g., clicking, on the control, therebysending a creation instruction for creating the customized visualizationcomponent to the terminal device.

In this embodiment, an executive body (e.g., the terminal device asshown in FIG. 1) of the method for generating a customized visualizationcomponent determines, in response to receiving a creation instructionfor instructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction.

The creation instruction for instructing to create a customizedvisualization component can be considered as a creation instructiongenerated by the user executing an operation, e.g., clicking, on thecontrol for instructing to generate a customized visualization componenton the current component editing page.

The creation instruction for instructing to create a customizedvisualization component can trigger the executive body to determine avisualization instance corresponding to the creation instruction andpresented on the current component editing page.

Step 202, determining an initial visualization component correspondingto the visualization instance and a user setting parameter set by a userfor the visualization instance.

In this embodiment, the executive body can determine an initialvisualization component corresponding to the visualization instance anda user setting parameter set by a user for the visualization instancebased on the visualization instance determined in Step 201.

The executive body can determine the initial visualization componentcorresponding to the visualization instance determined in Step 201 basedon the corresponding relationship between the component and theinstance. It can be understood that the initial visualization componentherein may be various types of visualization components, e.g.: chartvisualization components, such as histograms, area charts, line charts,pie charts, and Nightingale rose diagram; map visualization components,such as device maps, vehicle networking location maps, and vehiclenetworking trajectory maps; general visualization components, such asclocks, labels, and scoreboards; and graphical visualization components,such as arrows, straight lines, triangles, polygons, and circles.

Furthermore, the executive body can further read the user settingparameter set by the user for the visualization instance on the currentcomponent editing page.

Step 203, uploading a creation request for the customized visualizationcomponent to a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter.

In this embodiment, the executive body can generate a creation requestfor the customized visualization component based on the initialvisualization component corresponding to the visualization instance andthe user setting parameter determined in Step 202. The creation requestcan include the initial visualization component corresponding to thevisualization instance and the user setting parameter.

The executive body of the method for generating a customizedvisualization component can upload a creation request for the customizedvisualization component to the server (e.g., the server as shown inFIG. 1) to enable the server to generate the customized visualizationcomponent based on the initial visualization component and the usersetting parameter.

After receiving the creation request, the server can set parameters forattributes of the initial visualization component corresponding to thevisualization instance based on the user setting parameter, therebygenerating the customized visualization component. The server canfurther prompt the user by the terminal device to input information,such as name, and icon, that can characterize identity of the customizedvisualization component, so that the user can subsequently find thecustomized visualization component based on the name and icon.Furthermore, the server can further generate an identifier of thecustomized visualization component. The identifier of the customizedvisualization component herein may be an identifier used by the serverand the terminal device for distinguishing between differentvisualization components. The identifier may be a number, a text, acharacter, a symbol, or the like, or may be a combination of the number,the text, the character, the symbol, or the like.

Furthermore, the server can further use the initial visualizationcomponent as a basic component of the customized visualizationcomponent. Thus, the user can confirm functions of the customizedvisualization component according to the basic component.

The server can store the customized visualization component to arepository or database of visualization components.

Further referring to FIG. 3, FIG. 3 is a schematic diagram 300 of anapplication scenario of the method for generating a customizedvisualization component according to this embodiment. In the applicationscenario of FIG. 3, a user 301 first sends a creation instruction 303for instructing to create a customized visualization component to aterminal device 302. The terminal device 302 determines, in response toreceiving the creation instruction 303 for instructing to create acustomized visualization component, a visualization instance 304presented on a current component editing page based on the receivedcreation instruction. Then, the terminal device 302 determines aninitial visualization component corresponding to the visualizationinstance and a user setting parameter 305 set by the user for thevisualization instance. Finally, the terminal device 302 generates acreation request, the creation request includes identifier informationof the initial visualization component and the user setting parameter ofthe visualization instance, and the terminal device 302 uploads thecreation request to a server 307 to enable the server 307 to generatethe customized visualization component 306 based on the initialvisualization component and the user setting parameter.

The method according to the above embodiments of the present disclosuredetermines, in response to receiving a creation instruction forinstructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction, then determines an initialvisualization component corresponding to the visualization instance anda user setting parameter set by a user for the visualization instance,and finally uploads a creation request for the customized visualizationcomponent to a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter, thereby generating the customizedvisualization component satisfying user demands, improving the userexperience, and providing convenience for the user to make a datavisualization report form satisfying user demands and styles.Furthermore, when subsequently making the data visualization reportform, the user can directly use the customized visualization componentwithout the need for reediting the initial visualization component,thereby saving the time spent by the user in generating the datavisualization report form.

In some optional implementations of the embodiment, the executive bodyfor generating a customized visualization component can further receivethe customized visualization component created based on the creationrequest and sent by the server and identifier information of thecustomized visualization component. The identifier information includesan identifier of the customized visualization component. The identifierof the customized visualization component herein may be used fordistinguishing between different visualization components. Theidentifier may be a number, a text, a character, a symbol, or the like,or may be a combination of the number, the text, the character, thesymbol, or the like. The rules for setting the identifier of thecustomized visualization component may be identical to, or differentfrom, the rules for setting the identifier of the initial visualizationcomponent.

The executive body can present the customized visualization component ina component list displayed on the component editing page. In someapplication scenarios, the executive body can display the customizedvisualization component on the component editing page currentlydisplayed by the browser window of the executive body. In someapplication scenarios, the executive body can display the customizedvisualization component when the user opens the component editing pagethrough the browser next time.

The customized visualization component created by the server based onthe creation request is displayed on the component editing page toenable the user to generate a visualized data report form satisfyinguser demands and styles using the customized visualization component,thereby saving the time spent by the user in generating the datavisualization report form satisfying user demands and styles, andimproving the user experience.

In some optional implementations of the embodiment, the executive bodyfor generating the customized visualization component can further send,in response to receiving a sharing operation executed by a user on thecustomized visualization component, the sharing operation to the serverto enable the server to share the customized visualization component tousers instructed by the sharing operation.

In these optional implementations, the user can execute a sharingoperation of sharing the customized visualization component on acomponent management page displayed by the executive body. The sharingoperation can instruct at least one user. The sharing operation hereinmay include, for example, operations such as the user inputtingspecified to-be-shared users in a to-be-shared user list by clicking asharing control on the component management page.

The server can share the customized visualization component to usersinstructed by the sharing operation based on the sharing operation.

Further referring to FIG. 4, a flow 400 of another embodiment of themethod for generating a customized visualization component is shown. Theflow 400 of the method for generating a customized visualizationcomponent includes the following steps.

Step 401, determining, in response to receiving a creation instructionfor instructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction, the visualization instancebeing a combination of visualization instances, the combination ofvisualization instances being formed by combining at least twovisualization instances.

The executive body can determine, in response to receiving a creationinstruction for instructing to create a customized visualizationcomponent, a visualization instance presented on a current componentediting page based on the received creation instruction. Thevisualization instance is a combination of visualization instances, andthe combination of visualization instances is formed by combining atleast two visualization instances. Each visualization instance maycorrespond to an initial visualization component.

In this embodiment, the user can combine at least two visualizationinstances on the component editing page, to generate a combination ofvisualization instances. Among the at least two visualization instancesincluded in the combination of visualization instances, eachvisualization instance may correspond to an initial visualizationcomponent. When combining the at least two visualization instances, theuser configures a relative positional relationship of the at least twovisualization instances, and can set a user setting parameter for eachof the visualization instances. Here, the terminal device can record arelative positional relationship parameter of each of the at least twovisualization instances.

Step 402, determining the initial visualization component and the usersetting parameter corresponding to each of the at least twovisualization instances, and a relative positional relationshipparameter of the at least two visualization instances.

In this embodiment, the visualization instance determined in Step 401 isa combination of visualization instances. The executive body candetermine the initial visualization component and the user settingparameter corresponding to each of the at least two visualizationinstances included in the combination of visualization instances, andthe relative positional relationship parameter of the at least twovisualization instances.

Step 403, uploading a creation request to a server to enable the serverto generate the customized visualization component based on theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter.

In this embodiment, the executive body can first generate a creationrequest. The creation request includes identifier information of theinitial visualization component and the user setting parametercorresponding to each of the at least two visualization instances, andthe relative positional relationship parameter of the at least twovisualization instances.

The server can integrate the user setting parameter of eachvisualization instance of the at least two visualization instances andthe relative positional relationship parameter of the at least twovisualization instances to a configuration parameter of theto-be-generated customized visualization component.

The server can generate the customized visualization component based onthe initial visualization component corresponding to each of the atleast two visualization instances and the configuration parameter.

The server can send the customized visualization component to theterminal device, to facilitate using the customized visualizationcomponent by the user to create a data visualization report form.

In addition, the server can further store the customized visualizationcomponent to a preset component repository or database.

In some application scenarios, the user can further set, while combiningthe at least two visualization instances on the component editing pageto generate a combination of visualization instances, a hierarchicalrelationship parameter of the at least two visualization instances amongthe combination of visualization instances. The hierarchicalrelationship parameter is also a parameter for configuring a relativepositional relationship of a map layer corresponding to each of the atleast two visualization instances. For example, the hierarchicalrelationship parameter is a parameter for instructing a map layer of avisualization instance being above a map layer of another visualizationinstance.

In these application scenarios, the determining the initialvisualization component and the user setting parameter corresponding toeach of the at least two visualization instances, and a relativepositional relationship parameter of the at least two visualizationinstances in Step 402 further includes determining the hierarchicalrelationship parameter of the at least two visualization instances.

In these application scenarios, the creation request generated by theexecutive body further includes the hierarchical relationship parameterof the at least two visualization instances. That is, in theseapplication scenarios, the creation request can include the identifierinformation of the initial visualization component and the user settingparameter corresponding to each of the at least two visualizationinstances, the relative positional relationship parameter of the atleast two visualization instances, and the hierarchical relationshipparameter of the at least two visualization instances.

In these application scenarios, in Step 403, the executive body can sendthe creation request including the identifier information of the initialvisualization component and the user setting parameter corresponding toeach of the at least two visualization instances, the relativepositional relationship parameter of the at least two visualizationinstances, and the hierarchical relationship parameter of the at leasttwo visualization instances to the server to enable the server togenerate the customized visualization instances based on the identifierinformation of the initial visualization component and the user settingparameter corresponding to each of the at least two visualizationinstances, the relative positional relationship parameter of the atleast two visualization instances, and the hierarchical relationshipparameter of the at least two visualization instances.

In these application scenarios, the server can generate theconfiguration parameter corresponding to the to-be-generated customizedvisualization component based on the identifier information of theinitial visualization component and the user setting parametercorresponding to each of the at least two visualization instances, therelative positional relationship parameter of the at least twovisualization instances, and the hierarchical relationship parameter ofthe at least two visualization instances. The server can generate thecustomized visualization component based on the initial visualizationcomponent corresponding to each of the at least two visualizationinstances and the configuration parameter.

As can be seen from FIG. 4, compared with the embodiment correspondingto FIG. 2, the flow 400 of the method for generating a customizedvisualization component according to the embodiment highlights thevisualization instance being a combination of visualization instances,and a process of generating the customized visualization component basedon the combination of visualization instances. Therefore, the schemedescribed in the embodiment can generate more types of customizedvisualization components, thereby further contributing to saving thetime spent by the user in generating a data visualization report formsatisfying his demands and styles.

In some optional implementations, Step 201 in the embodiment shown inFIG. 2 and Step 401 in the embodiment shown in FIG. 4 of the presentdisclosure may include: sending, in response to receiving a creationinstruction for instructing to create a customized visualizationcomponent, user identifier information corresponding to the creationinstruction to the server to enable the server to authenticate the user;and determining, in response to receiving information for instructingsuccessful authentication sent by the server, a visualization instancepresented on a current component editing page based on the receivedcreation instruction.

In these optional implementations, the user can have access to a datavisual editing tool configured on the server using informationindicating user identity, such as a user account. The executive body cangenerate user identifier information based on user information, such asthe user account, and password.

The executive body for generating a customized visualization componentcan send, in response to receiving a creation instruction forinstructing to create a customized visualization component, useridentifier information corresponding to the creation instruction to theserver to enable the server to authenticate the user.

In these optional implementations, the server can send, when determiningthe user being authenticated to create a customized visualizationcomponent, information for instructing successful authentication to theexecutive body. The server can send, when determining the user being notauthenticated to create a customized visualization component,information for instructing authentication failure to the executivebody.

The executive body can determine, in response to receiving informationfor instructing successful authentication sent by the server, avisualization instance presented on a current component editing page andcorresponding to the creation instruction based on the received creationinstruction.

In these optional implementations, the user needs to be authenticated,and only after the authentication is successful, can the customizedvisualization component be generated. By user authentication, securityof the data visual editing tool can be improved.

Further referring to FIG. 5, as implementation of the method shown inthe above figures, the present disclosure provides an embodiment of anapparatus for generating a customized visualization component. Theembodiment of the apparatus corresponds to the embodiment of the methodshown in FIG. 2, and the apparatus can be specifically used in variouselectronic devices.

As shown in FIG. 5, the apparatus 500 for generating a customizedvisualization component according to the embodiment includes: a firstdetermining unit 501, a second determining unit 502, and a generatingunit 503. The first determining unit 501 is configured for determining,in response to receiving a creation instruction for instructing tocreate a customized visualization component, a visualization instancepresented on a current component editing page based on the receivedcreation instruction; the second determining unit 502 is configured fordetermining an initial visualization component corresponding to thevisualization instance and a user setting parameter set by a user forthe visualization instance; and the generating unit 503 is configuredfor uploading a creation request for the customized visualizationcomponent to a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter, the creation request including identifierinformation of the initial visualization component and the user settingparameter.

Specific processing of the first determining unit 501, the seconddetermining unit 502, and the generating unit 503 of the apparatus 500for generating a customized visualization component in the embodimentand technical effects brought thereby may be respectively referred to inrelevant description of the steps 201, 202, and 203 in the embodimentcorresponding to FIG. 2, and is not repeated any more here.

In some optional implementations of the embodiment, the visualizationinstance is a combination of visualization instances, the combination ofvisualization instances is formed by combining at least twovisualization instances, each of the visualization instances correspondsto an initial visualization component; the second determining unit 502is further configured for: determining a relative positionalrelationship parameter of the at least two visualization instances; thecreation request includes the identifier information of the initialvisualization component and the user setting parameter corresponding toeach of the at least two visualization instances, and the relativepositional relationship parameter; and the generating unit is furtherconfigured for: uploading the creation request to the server to enablethe server to generate the customized visualization component based onthe identifier information of the initial visualization component andthe user setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter.

In some optional implementations of the embodiment, the seconddetermining unit 502 is further configured for: determining ahierarchical relationship parameter of the at least two visualizationinstances; the creation request further includes the hierarchicalrelationship parameter; and the generating unit is further configuredfor: uploading the creation request to the server to enable the serverto generate the customized visualization component based on theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, the relative positional relationship parameter,and the hierarchical relationship parameter.

In some optional implementations of the embodiment, the apparatus 500for generating a customized visualization component further includes: areceiving unit (not shown in the figure) configured for: receiving thecustomized visualization component created based on the creation requestand sent by the server and the identifier information thereof; andpresenting the customized visualization component in a component listdisplayed on the component editing page.

In some optional implementations of the embodiment, the apparatus 500for generating a customized visualization component can further includea sharing unit (not shown in the figure) configured for: sending, inresponse to receiving a sharing operation of a user on the customizedvisualization component, the sharing operation to the server to enablethe server to share the customized visualization component to usersinstructed by the sharing operation.

In some optional implementations of the embodiment, the apparatus 500for generating a customized visualization component can further includesan authenticating unit (not shown in the figure) configured for:sending, in response to receiving the creation instruction forinstructing to create the customized visualization component, useridentifier information corresponding to the creation instruction to theserver to enable the server to authenticate the user; and determining,in response to receiving information for instructing successfulauthentication sent by the server, the visualization instance presentedon a current component editing page based on the received creationinstruction.

Referring to FIG. 6, a schematic structural diagram of a computer system600 adapted to implement an electronic device of the embodiments of thepresent disclosure is shown. The electronic device shown in FIG. 6 ismerely an example, and should not limit the function and scope of use ofthe embodiments of the present disclosure.

As shown in FIG. 6, the computer system 600 includes a centralprocessing unit (CPU) 601, which may execute various appropriate actionsand processes in accordance with a program stored in a read-only memory(ROM) 602 or a program loaded into a random access memory (RAM) 603 froma storage portion 608. The RAM 603 also stores various programs and datarequired by operations of the system 600. The CPU 601, the ROM 602 andthe RAM 603 are connected to each other through a bus 604. Aninput/output (I/O) interface 605 is also connected to the bus 604.

The following components are connected to the I/O interface 605: aninput portion 606 including a keyboard, a mouse, or the like; an outputportion 607 including a cathode ray tube (CRT), a liquid crystal displaydevice (LCD), a speaker, or the like; a storage portion 608 including ahard disk or the like; and a communication portion 609 including anetwork interface card, such as a LAN card and a modem. Thecommunication portion 609 performs communication processes via anetwork, such as the Internet. A driver 610 is also connected to the I/Ointerface 605 as required. A removable medium 611, such as a magneticdisk, an optical disk, a magneto-optical disk, and a semiconductormemory, may be installed on the driver 610, so that a computer programread therefrom is installed on the storage portion 608 as needed.

In particular, according to embodiments of the present disclosure, theprocess described above with reference to the flow chart may beimplemented in a computer software program. For example, an embodimentof the present disclosure includes a computer program product, whichcomprises a computer program that is tangibly embedded in amachine-readable medium. The computer program includes program codes forexecuting the method as illustrated in the flow chart. In such anembodiment, the computer program may be downloaded and installed from anetwork via the communication portion 609, and/or may be installed fromthe removable medium 611. The computer program, when executed by the CPU601, implements the functions as defined by the methods of the presentdisclosure. It should be noted that the computer readable medium in thepresent disclosure may be computer readable signal medium or computerreadable storage medium or any combination of the above two. An exampleof the computer readable storage medium may include, but is not limitedto: electric, magnetic, optical, electromagnetic, infrared, orsemiconductor systems, apparatus, elements, or a combination of any ofthe above. A more specific example of the computer readable storagemedium may include but is not limited to: electrical connection with oneor more wire, a portable computer disk, a hard disk, a random accessmemory (RAM), a read only memory (ROM), an erasable programmable readonly memory (EPROM or flash memory), a fibre, a portable compact diskread only memory (CD-ROM), an optical memory, a magnet memory or anysuitable combination of the above. In the present disclosure, thecomputer readable storage medium may be any tangible medium containingor storing programs which may be used by a command execution system,apparatus or element or incorporated thereto. In the present disclosure,the computer readable signal medium may include data signal in the baseband or propagating as parts of a carrier, in which computer readableprogram codes are carried. The propagating data signal may take variousforms, including but not limited to: an electromagnetic signal, anoptical signal or any suitable combination of the above. The signalmedium that can be read by computer may be any computer readable mediumexcept for the computer readable storage medium. The computer readablemedium is capable of transmitting, propagating or transferring programsfor use by, or used in combination with, a command execution system,apparatus or element. The program codes contained on the computerreadable medium may be transmitted with any suitable medium includingbut not limited to: wireless, wired, optical cable, RF medium etc., orany suitable combination of the above.

A computer program code for executing operations in the presentdisclosure may be compiled using one or more programming languages orcombinations thereof. The programming languages include object-orientedprogramming languages, such as Java, Smalltalk or C++, and also includeconventional procedural programming languages, such as “C” language orsimilar programming languages. The program code may be completelyexecuted on a user's computer, partially executed on a user's computer,executed as a separate software package, partially executed on a user'scomputer and partially executed on a remote computer, or completelyexecuted on a remote computer or server. In the circumstance involving aremote computer, the remote computer may be connected to a user'scomputer through any network, including local area network (LAN) or widearea network (WAN), or may be connected to an external computer (forexample, connected through Internet using an Internet service provider).

The flow charts and block diagrams in the accompanying drawingsillustrate architectures, functions and operations that may beimplemented according to the systems, methods and computer programproducts of the various embodiments of the present disclosure. In thisregard, each of the blocks in the flow charts or block diagrams mayrepresent a module, a program segment, or a code portion, said module,program segment, or code portion comprising one or more executableinstructions for implementing specified logic functions. It should alsobe noted that, in some alternative implementations, the functionsdenoted by the blocks may occur in a sequence different from thesequences shown in the figures. For example, any two blocks presented insuccession may be executed, substantially in parallel, or they maysometimes be in a reverse sequence, depending on the function involved.It should also be noted that each block in the block diagrams and/orflow charts as well as a combination of blocks may be implemented usinga dedicated hardware-based system executing specified functions oroperations, or by a combination of a dedicated hardware and computerinstructions.

The units involved in the embodiments of the present disclosure may beimplemented by means of software or hardware. The described units mayalso be provided in a processor, for example, described as: a processor,including a first determining unit, a second determining unit, and agenerating unit. Here, the names of these units do not in some casesconstitute a limitation to such units themselves. For example, the firstdetermining unit may also be described as “a unit configured todetermine, in response to receiving a creation instruction forinstructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction.”

In another aspect, the present disclosure further provides acomputer-readable medium. The computer-readable storage medium may beincluded in the apparatus in the above described embodiments, or astand-alone computer-readable medium not assembled into the apparatus.The computer-readable medium stores one or more programs. The one ormore programs, when executed by the apparatus, cause the apparatus to:determining, in response to receiving a creation instruction forinstructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction; determining an initialvisualization component corresponding to the visualization instance anda user setting parameter set by a user for the visualization instance;and uploading a creation request for the customized visualizationcomponent to a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter, the creation request comprising identifierinformation of the initial visualization component and the user settingparameter.

The above description only provides an explanation of the preferredembodiments of the present disclosure and the technical principles used.It should be appreciated by those skilled in the art that the inventivescope of the present disclosure is not limited to the technicalsolutions formed by the particular combinations of the above-describedtechnical features. The inventive scope should also cover othertechnical solutions formed by any combinations of the above-describedtechnical features or equivalent features thereof without departing fromthe concept of the disclosure. Technical schemes formed by theabove-described features being interchanged with, but not limited to,technical features with similar functions disclosed in the presentdisclosure are examples.

What is claimed is:
 1. A method for generating a customizedvisualization component, comprising: determining, in response toreceiving a creation instruction for instructing to create a customizedvisualization component, a visualization instance presented on a currentcomponent editing page based on the received creation instruction;determining an initial visualization component corresponding to thevisualization instance and a user setting parameter set by a user forthe visualization instance; uploading a creation request for thecustomized visualization component to a server to enable the server togenerate the customized visualization component based on the initialvisualization component and the user setting parameter, the creationrequest comprising identifier information of the initial visualizationcomponent and the user setting parameter; and inputting characteristicinformation for the customized visualization component to the server tofind the customized visualization component based on the characteristicinformation.
 2. The method according to claim 1, wherein thecharacteristic information comprises at least one of name or iconinformation of the customized visualization component.
 3. The methodaccording to claim 1, the method further comprising: storing thecustomized visualization component to a repository or database ofvisualization components.
 4. The method according to claim 1, whereinthe visualization instance is a combination of visualization instances,the combination of visualization instances is formed by combining atleast two visualization instances, and each of the visualizationinstances corresponds to an initial visualization component; and thedetermining an initial visualization component corresponding to thevisualization instance and a user setting parameter set by a user forthe visualization instance comprises: determining the initialvisualization component and the user setting parameter corresponding toeach of the at least two visualization component instances, and arelative positional relationship parameter of the at least twovisualization instances; and the creation request comprises theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter; and the uploading the creation request to a server to enablethe server to generate the customized visualization component based onthe initial visualization component and the user setting parametercomprises: uploading the creation request to the server to enable theserver to generate the customized visualization component based on theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter.
 5. The method according to claim 4, wherein the determiningan initial visualization component corresponding to the visualizationinstance and a user setting parameter set by a user for thevisualization instance further comprises: determining a hierarchicalrelationship parameter of the at least two visualization instances; andthe creation request further comprises the hierarchical relationshipparameter; and the uploading a creation request for the customizedvisualization component to a server to enable the server to generate thecustomized visualization component based on the initial visualizationcomponent and the user setting parameter comprises: uploading thecreation request for the customized visualization component to theserver to enable the server to generate the customized visualizationcomponent based on the identifier information of the initialvisualization component and the user setting parameter corresponding toeach of the at least two visualization instances, the relativepositional relationship parameter, and the hierarchical relationshipparameter.
 6. The method according to claim 1, the method furthercomprising: receiving the customized visualization component created bythe server based on the creation request and identifier information andcharacteristic information of the customized visualization componentfrom the server.
 7. The method according to claim 6, the method furthercomprising: displaying the customized visualization component on acomponent editing page currently displayed by a browser window.
 8. Themethod according to claim 6, the method further comprising: displayingthe customized visualization component in response to a componentediting page being opened through a browser next time.
 9. The methodaccording to claim 1, further comprising: sending, in response toreceiving a sharing operation of a user on the customized visualizationcomponent, the sharing operation to the server to enable the server toshare the customized visualization component to users instructed by thesharing operation.
 10. The method according to claim 1, furthercomprising: sending, in response to receiving the creation instructionfor instructing to create the customized visualization component, useridentifier information corresponding to the creation instruction to theserver to enable the server to authenticate the user; and determining,in response to receiving information for instructing successfulauthentication sent by the server, the visualization instance presentedon the current component editing page based on the received creationinstruction.
 11. An apparatus for generating a customized visualizationcomponent, comprising: at least one processor; and a memory storinginstructions, the instructions when executed by the at least oneprocessor, cause the at least one processor to perform operations, theoperations comprising: determining, in response to receiving a creationinstruction for instructing to create a customized visualizationcomponent, a visualization instance presented on a current componentediting page based on the received creation instruction; determining aninitial visualization component corresponding to the visualizationinstance and a user setting parameter set by a user for thevisualization instance; uploading a creation request for the customizedvisualization component to a server to enable the server to generate thecustomized visualization component based on the initial visualizationcomponent and the user setting parameter, the creation requestcomprising identifier information of the initial visualization componentand the user setting parameter; and inputting characteristic informationfor the customized visualization component to the server to find thecustomized visualization component based on the characteristicinformation.
 12. The apparatus according to claim 11, wherein thecharacteristic information comprises at least one of name or iconinformation of the customized visualization component.
 13. The apparatusaccording to claim 11, the operations further comprising: storing thecustomized visualization component to a repository or database ofvisualization components.
 14. The apparatus according to claim 11,wherein the visualization instance is a combination of visualizationinstances, the combination of visualization instances is formed bycombining at least two visualization instances, and each of thevisualization instances corresponds to an initial visualizationcomponent; and the determining an initial visualization componentcorresponding to the visualization instance and a user setting parameterset by a user for the visualization instance comprises: determining theinitial visualization component and the user setting parametercorresponding to each of the at least two visualization componentinstances, and a relative positional relationship parameter of the atleast two visualization instances; and the creation request comprisesthe identifier information of the initial visualization component andthe user setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter; and the uploading the creation request to a server to enablethe server to generate the customized visualization component based onthe initial visualization component and the user setting parametercomprises: uploading the creation request to the server to enable theserver to generate the customized visualization component based on theidentifier information of the initial visualization component and theuser setting parameter corresponding to each of the at least twovisualization instances, and the relative positional relationshipparameter.
 15. The apparatus according to claim 14, wherein thedetermining an initial visualization component corresponding to thevisualization instance and a user setting parameter set by a user forthe visualization instance further comprises: determining a hierarchicalrelationship parameter of the at least two visualization instances; andthe creation request further comprises the hierarchical relationshipparameter; and the uploading a creation request for the customizedvisualization component to a server to enable the server to generate thecustomized visualization component based on the initial visualizationcomponent and the user setting parameter comprises: uploading thecreation request to the server to enable the server to generate thecustomized visualization component based on the identifier informationof the initial visualization component and the user setting parametercorresponding to each of the at least two visualization instances, therelative positional relationship parameter, and the hierarchicalrelationship parameter.
 16. The apparatus according to claim 11, theoperations further comprising: receiving the customized visualizationcomponent created by the server based on the creation request andidentifier information and characteristic information of the customizedvisualization component from the server.
 17. The apparatus according toclaim 16, the operations further comprising: displaying the customizedvisualization component on a component editing page currently displayedby a browser window.
 18. The apparatus according to claim 16, theoperations further comprising: displaying the customized visualizationcomponent in response to a component editing page being opened through abrowser next time.
 19. The apparatus according to claim 11, theoperations further comprising: sending, in response to receiving thecreation instruction for instructing to create the customizedvisualization component, user identifier information corresponding tothe creation instruction to the server to enable the server toauthenticate the user; and determining, in response to receivinginformation for instructing successful authentication sent by theserver, the visualization instance presented on the current componentediting page based on the received creation instruction.
 20. Anon-transitory computer readable medium, storing a computer programtherein, wherein the computer program, when executed by a processor,causes the processor to perform operations, the operations comprising:determining, in response to receiving a creation instruction forinstructing to create a customized visualization component, avisualization instance presented on a current component editing pagebased on the received creation instruction; determining an initialvisualization component corresponding to the visualization instance anda user setting parameter set by a user for the visualization instance;uploading a creation request for the customized visualization componentto a server to enable the server to generate the customizedvisualization component based on the initial visualization component andthe user setting parameter, the creation request comprising identifierinformation of the initial visualization component and the user settingparameter; and inputting characteristic information for the customizedvisualization component to the server to find the customizedvisualization component based on the characteristic information.